<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Simple CMS</title>
	<link rel="stylesheet" type="text/css" href="<?php echo $template_path;?>/css/style.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $template_path;?>/css/nivo-slider.css" />
	<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,200,300,700' rel='stylesheet' type='text/css' />
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" lang="javascript" src="<?php echo $template_path;?>/js/script.js"></script>
	<script type="text/javascript" lang="javascript" src="<?php echo $template_path;?>/js/jquery.nivo.slider.pack.js"></script>
</head>
<body>
	<header>
		<div id="header-wrapper">
			<div class="Header">
				<?php get_module('search');?>
				<a href="<?php echo BASEURL;?>">
					<h1 class="title">Simple CMS</h1>
				</a>
			</div><!-- End .Header-->
		</div><!-- End #header-wrapper-->
	</header>
	<div id="navigation">
		<?php get_module('menu','mainmenu');?>
	</div>
	<div id="wrapper">
		<div class="main-outer">
			<div class="content-outer">
				<div id="component">
					<?php get_component_content(); ?>
				</div><!-- End #component-->
			</div><!-- End .content-outer-->
			<div class="right-outer">
				<ul class="tabs">
					<li class="active"><a href="#recent-posts">Recent Posts</a></li>
					<li class=""><a href="#popular-posts">Popular Posts</a></li>
					<li class=""><a href="#recent-comments">Comments</a></li>
				</ul>
				<div class="tab-content active" id="recent-posts">
					<?php get_module('recentPosts');?>
				</div><!--End .tab-content-->
				<div class="tab-content" id="popular-posts">
					<?php get_module('popularPosts');?>
				</div><!--End .tab-content-->
				<div class="tab-content" id="recent-comments">
					&nbsp;
				</div><!--End .tab-content-->
			</div><!--End .right-outer-->
			<div class="clear">&nbsp;</div>
		</div><!--End .main-outer-->
	</div><!-- End #wrapper-->
	<div class="clear">&nbsp;</div>
	<footer>
		<div id="footer-wrapper">
			<div id="footnav">
				<?php get_module('menu','footnav');?>
			</div><!-- End #footnav-->
			<div class="footer">
				Design by Pantonio. &copy;Copyright 2012 - 1013
			</div>
		</div>
	</footer>
</body>
</html>